package com.wxltsoft.commons.utils;

public class MathUtils {
	
	public static Integer getInteger(String value) {
    	if(value == null) return null;
    	return Integer.valueOf(value);
    }
    
    public static int getInt(String value) {
    	if(value == null) return 0;
    	return Integer.valueOf(value);
    }
    
    public static Long getLongWapper(String value) {
    	if(value == null) return null;
    	return Long.valueOf(value);
    }
    
    public static long getLong(String value) {
    	if(value == null) return 0;
    	return Long.valueOf(value);
    }

}
